<div id="sidebar">
    <ul>
    <li>
        <div class="wtitle">
            <h2>Авторизация</h2>
        </div>
        {%include 'login.html'%}
        <div class="sidebar_shadow"></div>
    </li>
        {% for bar in sidebar %}
        <li>
            <div class="wtitle">
                <h2>{{ bar.title }}</h2>
            </div>
            <ul class="sg-menu sf-js-enabled">
                {% autoescape off %}
                {{ bar.text }}
                {% endautoescape %}
            </ul>
            <div class="sidebar_shadow"></div>
        </li>
        {% endfor %}
    </ul>
</div>
<!-- end #sidebar -->
<div style="clear: both;">&nbsp;</div>
</div>
</div>
</div>